home *** CD-ROM | disk | FTP | other *** search
/ Freelog 22 / freelog 22.iso / BAS / Graphism / Render32 / INCLUDE / IOR.INC < prev    next >
Text File  |  1996-05-06  |  10KB  |  210 lines

  1. /*  00:44  12/13/1994
  2.  
  3.                             PERSISTENCE OF VISION RAYTRACER 2
  4.                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5.                 INDEX OF REFRACTION (IOR) VALUES FOR VARIOUS SUBSTANCES
  6.                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  7.  
  8.                           IOR-values added by Sven-Erik Andersen
  9.                           ¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿
  10.  
  11. Currently holds 117 different materials/IOR's. This update on December 13., 1994.
  12. The list may have various IOR for the same substance, that is becouse I have
  13. found different values in different sources, or it's for differnt wavelengths.
  14.  
  15. This update has cleared up the mess under chemicals, given them there poper
  16. name, and put them under the right subgroup. The chemical formulae-name stands
  17. in the comment for that chemical. There has been a substansial add-on to the
  18. crystall-group (!), partly becouse most under chemicals are crystalls, but and
  19. not the least, becouse Mikhail Elashkin <artimind@aoi.isrir.msk.su> from the
  20. Independent Group "Developing Games Software", Russia, Moscow have contributed
  21. with a nice collection of crystall-Ior values. The names of these crystalls have
  22. been transcribed to latin letters from russian, and the resulting names may not
  23. have the correct english names, those that I didn't recognice I have left as is,
  24. but if someone should happen to recognice any, and knows the correct english
  25. name, then please Email me! Those that I am not shure on has úú added to the
  26. comment.
  27.  
  28. A little comment on these crystalls. Where I have a range of values for a
  29. substance, (#declare Beryll_Ior_1  = 1.585  // 1.568-1.602)
  30.                                                ^^^^^^^^^^^
  31. I took the middle value for that range (some crystalls have several
  32. valueranges).
  33.  
  34. Comments, add-ons, corrections etc. (much appreciated) to
  35.  
  36. Email    :  <svenerik@oslonett.no>
  37. snailmail:  Sven-Erik Andersen
  38.             Fairbanksveien 37
  39.             N-8610 GRUBHEI
  40.             The Kingdom of NORWAY.
  41.  
  42.  
  43.                        ** STP = Standard Temperature and Pressure **
  44.  
  45. */
  46.  
  47. //
  48. // GASS
  49. //
  50.  
  51. #declare Air_STP_Ior                  = 1.00029
  52. #declare Air_Ior                      = 1.000292
  53. #declare Liquid_Carbon_Dioxide_Ior    = 1.20
  54. #declare Vacuum_Ior                   = 1.00000
  55.  
  56.  
  57. //
  58. // GLASS
  59. //
  60.  
  61. #declare Crown_Glass_Ior_1            = 1.51
  62. #declare Crown_Glass_Ior_2            = 1.52
  63. #declare Crown_Glass_Red_Ior          = 1.513
  64. #declare Crown_Glass_Orange_Ior       = 1.514
  65. #declare Crown_Glass_Yellow_Ior       = 1.517
  66. #declare Crown_Glass_Green_Ior        = 1.519
  67. #declare Crown_Glass_Blue_Ior         = 1.528
  68. #declare Crown_Glass_Violet_Ior       = 1.532
  69. #declare Zinc_Crown_Glass_Ior         = 1.517
  70. #declare Glass_Ior                    = 1.5
  71. #declare Flint_Glass_Ior              = 1.71
  72. #declare Heaviest_Flint_Glass_Ior     = 1.89
  73. #declare Heavy_Flint_Glass_Ior        = 1.65 
  74. #declare Light_Flint_Glass_Ior        = 1.575
  75. #declare Amorphous_Selenium_Ior       = 2.92   // Red glass
  76.  
  77.  
  78. //
  79. // GEM-STONES, CRYSTALLS etc.
  80. //
  81.  
  82. #declare Alexandrit_Ior_1             = 1.753  // ((K)Hrisoberil) yellow, úú
  83. #declare Alexandrit_Ior_2             = 1.747  // yellow-green, red in úú
  84. #declare Alexandrit_Ior_3             = 1.744  // artificial light. úú
  85. #declare Amber_Ior_1                  = 1.546
  86. #declare Amber_Ior_2                  = 1.535  // 1.53-1.54
  87. #declare Bariumdifluorid_Ior          = 1.47   // BaF2
  88. #declare Beryll_Ior_1                 = 1.585  // 1.568-1.602
  89. #declare Beryll_Ior_2                 = 1.5795 // 1.564-1.595
  90. #declare Birusa_Ior_1                 = 1.65   // bright blue and green úú
  91. #declare Birusa_Ior_2                 = 1.62   // úú
  92. #declare Birusa_Ior_3                 = 1.61   // úú
  93. #declare Calcite_Ior                  = 1.60   // CaCO3
  94. #declare Cadmium_sulfide_Ior          = 2.34   // CdS. Greenockite
  95. #declare Calciumdifluorid_Ior          = 1.43   // CaF2
  96. #declare Calspar1_Ior                 = 1.66
  97. #declare Calspar2_Ior                 = 1.486
  98. #declare Chalcedony_Ior_1             = 1.5415 // 1.539-1.544
  99. #declare Chalcedony_Ior_2             = 1.5305 // 1.526-1.535
  100. #declare Corundum_Ior                 = 1.75   // aluminium oxide/Al2O3. Ionic
  101.                                                // crystal. Commonly Al2O3
  102.                                                // contains small amounts of 
  103.                                                // impurities that produce
  104.                                                // beautiful colored crystals.
  105.                                                // Cr(3+)-containing Al2O3
  106.                                                // constitutes ruby (red color).
  107.                                                // Ti(4+) impurities produce 
  108.                                                // blue crystals and are a
  109.                                                // variety of blue zaphir.
  110. #declare Crystal_Ior                  = 2.00
  111. #declare Diamond_Ior_1                = 2.47
  112. #declare Diamond_Ior_2                = 2.417 
  113. #declare Emerald_Ior                  = 1.57
  114. #declare Fluorite_Ior                 = 1.434  // colorless 
  115. #declare Fused_Quartz_Ior             = 1.46
  116. #declare Granat_Ior                   = 1.755  // 1.705-1.805
  117. #declare Ice_Ior                      = 1.309
  118. #declare Iodine_Crystal_Ior           = 3.340
  119. #declare Lapis_Lazuli_Ior             = 1.61
  120. #declare Lazurite_Ior                 = 1.498  // blue. 1.495-1.501
  121. #declare Lithiumfluoride_Ior          = 1.39   // LiF
  122. #declare Magnesiumdifluorid_Ior          = 1.38   // MgF2
  123. #declare Magnesium_oxide_Ior          = 1.70   // MgO. Ionic crystal.
  124. #declare Malakhit_Ior_1               = 1.9091 // green-black úú
  125. #declare Malakhit_Ior_2               = 1.875  // úú
  126. #declare Malakhit_Ior_3               = 1.655  // úú
  127. #declare Obsidian_Ior                 = 1.482
  128. #declare Olivin_Ior_1                 = 1.670  // colorless, yellow, green, black
  129. #declare Olivin_Ior_2                 = 1.651
  130. #declare Olivin_Ior_3                 = 1.685
  131. #declare Opal_Ior                     = 1.43   // 1.40-1.46
  132. #declare Potassium_Aluminia_Ior       = 1.456  // (KAl[SO4]2*12H20) colorless úú
  133. #declare Potassiumbromide_Ior          = 1.56   // KBr
  134. #declare Potassiumchloride_Ior        = 1.49   // KCl
  135. #declare Potassiumfluorid_Ior          = 1.36   // KF
  136. //#declare Potassium_di-H_orthophosphate_Ior = 1.50   // KH2PO4
  137. #declare Rhodonit_Ior_1               = 1.7275 // dark pink. 1.723-1.732 úú
  138. #declare Rhodonit_Ior_2               = 1.7285 // 1.716-1.741 úú
  139. #declare Rhodonit_Ior_3               = 1.7245 // 1.711-1.738 úú
  140. #declare Rhutil_Ior_1                 = 2.90   // pale yellow úú
  141. #declare Rhutil_Ior_2                 = 2.61   // pale yellow úú
  142. #declare Ruby_Ior                     = 1.77
  143. #declare Sapphire_Ior                 = 1.7
  144. #declare Silicon_oxide_1_Ior          = 1.60   // SiO2. Ionic solid. It can be
  145.                                                // found in many crystalline
  146. #declare Silicon_oxide_2_Ior          = 1.40   // forms. The value of 1.60 lies
  147.                                                // in the range of refraction
  148.                                                // indices found in quartz.
  149. #declare Silvin_Ior                   = 1.490  // (KCl) colorless úú
  150. #declare Sodiumbromide_Ior            = 1.64   // NaBr                                               
  151. #declare Sodium_Chloride_Salt_1_Ior   = 1.544
  152. #declare Sodium_Chloride_Salt_2_Ior   = 1.644
  153. #declare Sodium_Chloride_Salt_3_Ior   = 1.5
  154. #declare Spodumen_Ior_1               = 1.6785 // white, pink, green. 1.676-1.681 úú
  155. #declare Spodumen_Ior_2               = 1.6655 // 1.660-1.671 úú
  156. #declare Spodumen_Ior_3               = 1.6595 // 1.651-1.668 úú
  157. #declare Strontiumdifluorid_Ior       = 1.44   // SrF2
  158. #declare Topaz_Ior_1                  = 1.61
  159. #declare Topaz_Ior_2                  = 1.6275 // 1.617-1.638
  160. #declare Topaz_Ior_3                  = 1.62   // 1.609-1.631
  161. #declare Topaz_Ior_4                  = 1.6175 // 1.606-1.629
  162. #declare Tooth_structure_enamel_Ior   = 1.655
  163. #declare Tselestin_Ior_1              = 1.63   // Celestin? úú
  164. #declare Tselestin_Ior_2              = 1.624  // úú
  165. #declare Tselestin_Ior_3              = 1.622  // úú
  166. #declare Tourmaline_Ior_1             = 1.666  // black, green, red,  1.640-1.692
  167. #declare Tourmaline_Ior_2             = 1.6385 // indigo, polychrome. 1.620-1.657
  168. #declare Quartz_1_Ior                 = 1.644
  169. #declare Quartz_2_Ior                 = 1.553
  170. #declare Zhadeit_Ior_1                = 1.6765 // looks like nephrite 1.665-1.688 úú
  171. #declare Zhadeit_Ior_2                = 1.665  // 1.657-1.673 úú
  172. #declare Zhadeit_Ior_3                = 1.66   // 1.654-1.666 úú
  173. #declare Zinc_oxide_Ior                  = 1.96   // ZnO. Also called zincite. Ionic crystal.
  174. #declare Zinc_sulfide_Ior             = 2.40   // ZnS. Common name is zinc blende.
  175.                                                // Ionic crystal having a beautiful redish yellow color.
  176.                                                
  177.  
  178. //
  179. // LIQUIDS 
  180. //
  181.  
  182. #declare Acetone_Ior                  = 1.36
  183. #declare Alcohol_Ior                  = 1.329
  184. #declare Benzen_Ior                   = 1.500
  185. #declare Ethyl_Alcohol_Ior            = 1.36
  186. #declare Flourite_Ior                 = 1.434
  187. #declare Sugar_Solution_30_Ior        = 1.38   // 30% solution
  188. #declare Sugar_Solution_80_Ior        = 1.49   // 80% solution
  189. #declare Water_20_C_Ior               = 1.333  // 20 degrees Celsius
  190. #declare Carbondisulfide_Ior          = 1.63
  191. #declare Canada_balsam_Ior            = 1.530  // Used as glue for optics.
  192.  
  193.  
  194. //
  195. // VARIOUS 
  196. //
  197.  
  198. #declare Polystyrene_Ior              = 1.55   // Plastic
  199. #declare Asphalt_Ior                  = 1.635
  200. #declare Gum_arabic_Ior               = 1.480
  201. #declare Ivory_Ior                    = 1.539
  202. #declare Gelatin_Ior                  = 1.52
  203. #declare Aloe_Ior                     = 1.619
  204. #declare SBN_Ior                      = 2.4    // SulphurBoronNitrogen ???
  205.  
  206.  
  207.  
  208. // END OF FILE IOR_PLUS.INC
  209.  
  210.